set(BIN_NAME switch_scene)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)

find_package(Qt5Core REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5Widgets REQUIRED)

add_executable(${BIN_NAME} main.cpp switch_scene_model.cpp)
target_link_libraries(${BIN_NAME} Qt5::Core Qt5::Gui Qt5::Widgets)